<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
<meta name="keywords" content="精灵,调色板,MAME,街机,模拟器"/>
<title>Arcade Sprite Viewer</title>
<link rel="stylesheet" href="markdown.css">
<style>
	body {
		box-sizing: border-box;
		min-width: 200px;
		max-width: 980px;
		margin: 0 auto;
		padding: 45px;
	}
</style>
</head>
<body>
<article class="markdown-body">
<h1>Arcade Sprite Viewer</h1>
<p>街机模拟游戏的图形查看器 (cps1 neogeo ...)</p>
<p>点击 <a href="https://gitee.com/bombzj/arcade-sprite-viewer" title="arcade sprite viewer">这里</a> 查看源代码和说明.</p>

<h2>CPS</h2>
<p>
	<img src="https://bombzj.gitee.io/arcade-sprite-viewer/res/punisheranim.gif" title="punisher animation"/>
</p>
<li>点击 <a href="https://bombzj.gitee.io/arcade-sprite-viewer/?dino">这里</a> 查看 <strong>恐龙快打</strong>.</li>
<p>
	<img src="https://bombzj.gitee.io/arcade-sprite-viewer/res/animdino.gif" title="dino animation"/>
</p>
<li>点击 <a href="https://bombzj.gitee.io/arcade-sprite-viewer/?punisher">这里</a> 查看 <strong>惩罚者</strong>.</li>

<h2>PSIKYOSH</h2>
<p>
	<img src="https://bombzj.gitee.io/arcade-sprite-viewer/res/anim1945ii.gif" title="1945ii animation"/>
</p>
<p>
	<img src="https://bombzj.gitee.io/arcade-sprite-viewer/res/mapgunbird2.png" title="gunbird2 background"/>
</p>
<li>点击 <a href="https://bombzj.gitee.io/arcade-sprite-viewer/?1945ii">这里</a> 查看 <strong>打击者1945</strong>.</li>


<h2>NEOGEO</h2>
<p>
	<img src="https://bombzj.gitee.io/arcade-sprite-viewer/res/animkof97.gif" title="kof97 animation"/>
</p>
<p>
	<img src="https://bombzj.gitee.io/arcade-sprite-viewer/res/animkof98.gif" title="kof98 animation"/>
</p>
<p>
	<img src="https://bombzj.gitee.io/arcade-sprite-viewer/res/animkof2000.gif" title="kof2000 animation"/>
</p>
<p>
	<img src="https://bombzj.gitee.io/arcade-sprite-viewer/res/map3mslug2.gif" title="mslug2 background"/>
</p>
<ul>
<li>点击 <a href="https://bombzj.gitee.io/arcade-sprite-viewer/?kof97">这里</a> 查看 <strong>拳皇97</strong>.</li>
</ul>

<h1>快捷键</h1>
<ul>
<li>m键 = 切换模式 1 - 6</li>
<li>ctrl + arrow keys = change 调色板 set to level/scene
<li>模式 1 (tiles)</li>
<ul>
	<li>arrow keys/page up/down = move tiles</li>
	<li>\[ / \] change tile set</li>
	<li>, / . change 调色板</li>
</ul>

<li>模式 2 (精灵)</li>
<ul>
	<li>arrow up/down = change set of sprites</li>
	<li>arrow left/right = change sprite</li>
</ul>

<li>模式 3/4 (背景层)</li>
<ul>
	<li>arrow up/down = change level</li>
	<li>arrow left/right = change scene of level</li>
	<li>, / . = move map left/right</li>
	<li>c show collision box (if found)</li>
</ul>
<li>模式 5 (玩家角色动画) unfinished</li>
<li>模式 6 (角色动画) if any</li>
<ul>
	<li>arrow up/down = change set of animations</li>
	<li>arrow left/right = change animation</li>
</ul>
</ul>

<h1>下一步</h1>
<ul>
	<li>webgl & wasm?</li>
	<li>how to know which pen/color of background layer is in front of sprites?</li>
</ul>

<h1>参考</h1>
<ul>
	<li><a href="https://patpend.net/technical/arcade/cps1.html" target="_blank">Capcom System 1</a></li>
	<li><a href="https://wiki.neogeodev.org/index.php?title=Sprite_graphics_format" target="_blank">NeoGeo Sprite graphics format</a></li>
</ul>

<h1>感谢</h1>
<ul>
	<li>Project <a href="https://github.com/mamedev/mame" target="_blank">mamedev</a></li>
	<li>Phil Bennett</li>
</ul>

</article>
</body>
</html>
